home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
eflibpt4.zip
/
DEMO
/
WINDOWS
/
SIMPLE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-08-01
|
1KB
|
34 lines
{ Borland Pascal Extended Function Library - EFLIB (C) Johan Larsson, 1996
Demonstration; simple windows
EFLIB IS PROTECTED BY THE COPYRIGHT LAW AND MAY NOT BE COPIED, SOLD OR
MANIPULATED. FOR MORE INFORMATION, SEE PROGRAM MANUAL! THIS DEMONSTRAT-
ION PROGRAM MAY FREELY BE USED AND DISTRIBUTED. }
uses EFLIBDEF, EFLIBINI, EFLIBWIN, EFLIBKBD, EFLIBMSE;
var WindowWithView : WindowObjectType;
begin
with WindowWithView do begin
Initialize; { Initialize object }
SetCoordinates (10, 5, 70, 20); { Set coordinates }
MaximizeTextCoordinates; { Use window for text only }
SetBorder (DoubleBorder); { Set double border line }
EnableExplode; { Make window exploded }
DisableKeep; { Remove window after interception }
Draw; { Draw this window }
{ Above lines could be replaced with the much shorter command:
InitializeWindow (10, 5, 70, 20, 'My window with view', DoubleBorder, TRUE, FALSE);}
repeat
Write ('@Yellow:Blue@EFLIB introduces a new world of programming.');
until Keyboard.KeyPressed or Mouse.ButtonPressed;
Intercept;
end;
end.